package com.swsc.xapp.xroom;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;



/**
 * <p>
 * 设备信息表
 * </p>
 *
 * @author AutoGenerator
 * @since 2022-11-14
 */

@Entity(tableName = "solar_device_info")
public class PvDeviceInfoDO {
    /** 主键 */
    @PrimaryKey
    private Long id;

    @ColumnInfo(name ="device_pid")
    private Long devicePid;
    /** 版本 */
    @ColumnInfo(name = "version")
    private Short version;

    /** 删除标记 */
    
    private Integer deleted;

    /** 创建者 */
    @ColumnInfo(name = "create_by")
    private String createBy;

    /** 修改者 */
    @ColumnInfo(name = "update_by")
    private String updateBy;

    /** 创建时间 由数据库控制 */
    @ColumnInfo(name = "create_time")
    private String createTime;

    /** 更新时间 由数据库控制 */
    @ColumnInfo(name = "update_time")
    private String updateTime;

    /**
     * 租户编号
     */
    @ColumnInfo(name ="tenant_no")
    private Integer tenantNo;

    /**
     * 组织id
     */
    @ColumnInfo(name ="organ_no")
    private Integer organNo;

    /**
     * 组织名称
     */
    @ColumnInfo(name ="organ_name")
    private String organName;

    /**
     * 设备名称
     */
    @ColumnInfo(name ="device_name")
    private String deviceName;

    /**
     * 设备编码
     */
    @ColumnInfo(name ="device_raw_code")
    private String deviceRawCode;

    /**
     * 设备编码
     */
    @ColumnInfo(name ="device_code")
    private String deviceCode;

    /**
     * 设备型号
     */
    @ColumnInfo(name ="device_model")
    private String deviceModel;

    /**
     * 投运时间
     */
    @ColumnInfo(name ="run_time")
    private String runTime;

    /**
     * jsonid
     */
    @ColumnInfo(name ="geoid")
    private String geoid;

    /**
     * num
     */
    @ColumnInfo(name ="num")
    private Short num;

    /**
     * polygon coordinates
     */
    @ColumnInfo(name = "coordinates"/*, jdbcType = JdbcType.OTHER, typeHandler = com.swsc.solarverse.common.mybatis.GeometryStringTypeHandler.class*/)
    private String coordinates;

    @ColumnInfo(name ="geometry_type")
    private String geometryType;

    /**
     * 备注
     */
    @ColumnInfo(name ="remark")
    private String remark;

    /**
     * 10 逆变器, 20 环境监测仪，40 汇流箱, 41 组串
     */
    @ColumnInfo(name ="device_type")
    private String deviceType;

    @ColumnInfo(name ="file_name")
    private String fileName;

    /**
     * 数据采集设备id
     */
    @ColumnInfo(name ="scada_id")
    private Integer scadaId;

    @ColumnInfo(name ="zone")
    private String zone;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getDevicePid() {
        return devicePid;
    }

    public void setDevicePid(Long devicePid) {
        this.devicePid = devicePid;
    }

    public Short getVersion() {
        return version;
    }

    public void setVersion(Short version) {
        this.version = version;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getTenantNo() {
        return tenantNo;
    }

    public void setTenantNo(Integer tenantNo) {
        this.tenantNo = tenantNo;
    }

    public Integer getOrganNo() {
        return organNo;
    }

    public void setOrganNo(Integer organNo) {
        this.organNo = organNo;
    }

    public String getOrganName() {
        return organName;
    }

    public void setOrganName(String organName) {
        this.organName = organName;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDeviceRawCode() {
        return deviceRawCode;
    }

    public void setDeviceRawCode(String deviceRawCode) {
        this.deviceRawCode = deviceRawCode;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getDeviceModel() {
        return deviceModel;
    }

    public void setDeviceModel(String deviceModel) {
        this.deviceModel = deviceModel;
    }

    public String getRunTime() {
        return runTime;
    }

    public void setRunTime(String runTime) {
        this.runTime = runTime;
    }

    public String getGeoid() {
        return geoid;
    }

    public void setGeoid(String geoid) {
        this.geoid = geoid;
    }

    public Short getNum() {
        return num;
    }

    public void setNum(Short num) {
        this.num = num;
    }

    public String getCoordinates() {
        return coordinates;
    }

    public void setCoordinates(String coordinates) {
        this.coordinates = coordinates;
    }

    public String getGeometryType() {
        return geometryType;
    }

    public void setGeometryType(String geometryType) {
        this.geometryType = geometryType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Integer getScadaId() {
        return scadaId;
    }

    public void setScadaId(Integer scadaId) {
        this.scadaId = scadaId;
    }

    public String getZone() {
        return zone;
    }

    public void setZone(String zone) {
        this.zone = zone;
    }
}
